package service

import (
	"xkginweb/service/basis"
	"xkginweb/service/coolingPool"
	"xkginweb/service/coolingPoolDevice"
	"xkginweb/service/importantDevice"
	"xkginweb/service/importantPort"
	"xkginweb/service/report"
	"xkginweb/service/reportDetail"
	"xkginweb/service/reporter"
	"xkginweb/service/room"
	"xkginweb/service/state"
	"xkginweb/service/sys"
)

// 实例创建聚合
type ServicesGroup struct {
	SyserviceGroup sys.ServiceGroup

	RoomServiceGroup              room.ServiceGroup
	CoolingPoolServiceGroup       coolingPool.ServiceGroup
	CoolingPoolDeviceServiceGroup coolingPoolDevice.ServiceGroup
	ImportantDeviceServiceGroup   importantDevice.ServiceGroup
	ImportantPortServiceGroup     importantPort.ServiceGroup
	ReporterServiceGroup          reporter.ServiceGroup
	ReportServiceGroup            report.ServiceGroup
	ReportDetailGroup             reportDetail.ServiceGroup
	BasisDetailGroup              basis.ServiceGroup

	UserStateServiceGroup state.ServiceGroup
}

// 单例设计模式
var ServiceGroupApp = new(ServicesGroup)
